/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.threads.lista;

/**
 *
 * @author andersonribeiro
 */
public class Questao1 extends Thread {

    @Override
    public void run() {
        System.out.printf("Thread %d\n", this.getId());
    }

    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            Questao1 thread = new Questao1();
            thread.start();
        }

    }
    
}
